In [12]:
%pylab inline
from scipy.signal import deconvolve
In [49]:
!ls
In [50]:
# load trace
trace = np.load('IPSCs2.npy')
plt.plot(trace)
plt.ylim(-85, -65);
In [51]:
template = trace[1000:4000]
plt.plot(template)
Out[51]:
In [52]:
quotient, remainder = deconvolve(signal = trace, divisor=template)
In [53]:
plt.plot(quotient)
Out[53]:
In [54]:
# load trace
trace = np.load('IPSCs3.npy')
plt.plot(trace)
plt.ylim(-85, -65);
In [55]:
quotient, remainder = deconvolve(signal = trace, divisor=template)
In [56]:
plt.plot(quotient)
Out[56]:
In [ ]: